FreeBSD error

FreeBSD error

am 17.08.2010 19:08:30 von Ryan Perry

--001485f1a24698eacd048e07ff88
Content-Type: text/plain; charset=ISO-8859-1

I'm getting an error when building on FreeBSD with perl 5.12.1:





make:

..........
Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed): /usr/local/sbin/apxs


Configuring Apache/2.2.15 mod_perl/2.0.5-dev Perl/v5.12.1
Use of uninitialized value in join or string at lib/Apache2/Build.pm line
900.
Use of uninitialized value in join or string at lib/Apache2/Build.pm line
900.
Checking if your kit is complete...
Looks good
Writing Makefile for Apache2::Reload
Use of uninitialized value in join or string at lib/Apache2/Build.pm line
900.
Use of uninitialized value in join or string at lib/Apache2/Build.pm line
900.
Checking if your kit is complete...
Looks good
Writing Makefile for Apache2::SizeLimit
Subroutine MY::postamble redefined at ./Makefile.PL line 167.
Subroutine MY::constants redefined at ./Makefile.PL line 181.
[ info] generating script t/TEST
[ info] generating script ./t/cgi-bin/cookies.pl
[ info] generating script ./t/cgi-bin/next_available_port.pl
Checking if your kit is complete...
Looks good
[ info] generating script t/TEST
Writing Makefile for Apache::TestItSelf
Writing Makefile for Apache::Test
Checking for File::Spec...ok
Checking for Cwd...ok
[ info] generating script t/TEST
Checking if your kit is complete...
Looks good
Writing Makefile for ModPerl::Registry
Writing Makefile for APR::Base64
Writing Makefile for APR::Brigade
Writing Makefile for APR::Bucket
Writing Makefile for APR::BucketAlloc
Writing Makefile for APR::BucketType
Writing Makefile for APR::Date
Writing Makefile for APR::Error
Writing Makefile for APR::Finfo
Writing Makefile for APR::IpSubnet
Writing Makefile for APR::OS
Writing Makefile for APR::Pool
Writing Makefile for APR::SockAddr
Writing Makefile for APR::Socket
Writing Makefile for APR::Status
Writing Makefile for APR::String
Writing Makefile for APR::Table
Writing Makefile for APR::ThreadMutex
Writing Makefile for APR::ThreadRWLock
Writing Makefile for APR::URI
Writing Makefile for APR::UUID
Writing Makefile for APR::Util
Writing Makefile for APR
Writing Makefile for Apache2::Access
Writing Makefile for Apache2::CmdParms
Writing Makefile for Apache2::Command
Writing Makefile for Apache2::Connection
Writing Makefile for Apache2::ConnectionUtil
Writing Makefile for Apache2::Directive
Writing Makefile for Apache2::Filter
Writing Makefile for Apache2::FilterRec
Writing Makefile for Apache2::HookRun
Writing Makefile for Apache2::Log
Writing Makefile for Apache2::MPM
Writing Makefile for Apache2::Module
Writing Makefile for Apache2::Process
Writing Makefile for Apache2::RequestIO
Writing Makefile for Apache2::RequestRec
Writing Makefile for Apache2::RequestUtil
Writing Makefile for Apache2::Response
Writing Makefile for Apache2::ServerRec
Writing Makefile for Apache2::ServerUtil
Writing Makefile for Apache2::SubProcess
Writing Makefile for Apache2::SubRequest
Writing Makefile for Apache2::URI
Writing Makefile for Apache2::Util
Writing Makefile for Apache2
Writing Makefile for ModPerl::Global
Writing Makefile for ModPerl::Util
Writing Makefile for ModPerl
Writing Makefile for ModPerl::WrapXS
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile for APR
Writing Makefile for APR::Const
Writing Makefile for APR::PerlIO
Writing Makefile for libaprext
Writing Makefile for APR_build
Writing Makefile for Apache2::Const
Writing Makefile for Apache2_build
Writing Makefile for ModPerl::Const
Writing Makefile for ModPerl
Writing Makefile for ModPerl::XS
Writing Makefile for mod_perl2
[warning] mod_perl dso library will be built as mod_perl.so
[warning] You'll need to add the following to httpd.conf:
[warning]
[warning] LoadModule perl_module modules/mod_perl.so
[warning]
[warning] depending on your build, mod_perl might not live in
[warning] the modules/ directory.

[warning] Check the results of
[warning]
[warning] $ /usr/local/sbin/apxs -q LIBEXECDIR
[warning]
[warning] and adjust the LoadModule directive accordingly.

==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
*** Error code 1

Stop in /usr/home/pbx/installs/installs/mod_perl-2.0.












# perl -v

This is perl 5, version 12, subversion 1 (v5.12.1) built for
i386-freebsd-thread-multi-64int

Copyright 1987-2010, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

mip# perl -V
Summary of my perl5 (revision 5 version 12 subversion 1) configuration:

Platform:
osname=freebsd, osvers=8.0-release,
archname=i386-freebsd-thread-multi-64int
uname='freebsd mip.madisonip.com 8.0-release freebsd 8.0-release #0: sat
nov 21 15:48:17 utc 2009 root@almeida.cse.buffalo.edu:usrobjusrsrcsysgeneric
i386 '
config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.12.1/mach
-Dprivlib=/usr/local/lib/perl5/5.12.1
-Dman3dir=/usr/local/lib/perl5/5.12.1/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.12.1/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.12.1 -Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.12.1/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl
-Dcc=cc -Duseshrplib -Dinc_version_list=none
-Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.1/BSDPAN" -Doptimize=-O2
-pipe -fno-strict-aliasing -Ui_gdbm -Dusethreads=y -Dusemymalloc=n
-Duse64bitint'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.1/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include',
optimize='-O2 -pipe -fno-strict-aliasing',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.1/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 20070719 [FreeBSD]', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-pthread -Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/local/lib/perl5/5.12.1/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib
-fstack-protector'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
Built under freebsd
Compiled at Aug 17 2010 11:06:30
@INC:
/usr/local/lib/perl5/5.12.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.12.1/mach
/usr/local/lib/perl5/site_perl/5.12.1
/usr/local/lib/perl5/5.12.1/mach
/usr/local/lib/perl5/5.12.1


--
Ryan Perry
Technology Director
Women's Health America
800-558-7046 x700
608-807-0823

--001485f1a24698eacd048e07ff88
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I'm getting an error when building on FreeBSD with perl 5.12.=
1:




r>
make:

.........
Please=
provide a full path to 'apxs' executable

(press Enter if you don't have it installed): =A0/usr/local/sbin/a=
pxs


Configuring Apache/2.2.15 mod_p=
erl/2.0.5-dev Perl/v5.12.1
Use of uninitialized value in join or =
string at lib/Apache2/Build.pm line 900.

Use of uninitialized value in join or string at lib/Apache2/Build.pm l=
ine 900.
Checking if your kit is complete...
Looks good=
Writing Makefile for Apache2::Reload
Use of uninitiali=
zed value in join or string at lib/Apache2/Build.pm line 900.

Use of uninitialized value in join or string at lib/Apache2/Build.pm l=
ine 900.
Checking if your kit is complete...
Looks good=
Writing Makefile for Apache2::SizeLimit
Subroutine MY:=
:postamble redefined at ./Makefile.PL line 167.

Subroutine MY::constants redefined at ./Makefile.PL line 181.
v>[ =A0 info] generating script t/TEST
[ =A0 info] generating scr=
ipt ./t/cgi-bin/
[ =
=A0 info] generating script ./t/cgi-bin/ rt.pl">next_available_port.pl

Checking if your kit is complete...
Looks good
[ =
=A0 info] generating script t/TEST
Writing Makefile for Apache::T=
estItSelf
Writing Makefile for Apache::Test
Checking fo=
r File::Spec...ok

Checking for Cwd...ok
[ =A0 info] generating script t/TEST div>
Checking if your kit is complete...
Looks good
>Writing Makefile for ModPerl::Registry
Writing Makefile for APR:=
:Base64

Writing Makefile for APR::Brigade
Writing Makefile for APR::=
Bucket
Writing Makefile for APR::BucketAlloc
Writing Ma=
kefile for APR::BucketType
Writing Makefile for APR::Date

Writing Makefile for APR::Error
Writing Makefile for APR::Fi=
nfo
Writing Makefile for APR::IpSubnet
Writing Makefile=
for APR::OS
Writing Makefile for APR::Pool
Writing Mak=
efile for APR::SockAddr

Writing Makefile for APR::Socket
Writing Makefile for APR::S=
tatus
Writing Makefile for APR::String
Writing Makefile=
for APR::Table
Writing Makefile for APR::ThreadMutex

Writing Makefile for APR::ThreadRWLock
Writing Makefile for APR::=
URI
Writing Makefile for APR::UUID
Writing Makefile for=
APR::Util
Writing Makefile for APR
Writing Makefile fo=
r Apache2::Access

Writing Makefile for Apache2::CmdParms
Writing Makefile for =
Apache2::Command
Writing Makefile for Apache2::Connection
iv>Writing Makefile for Apache2::ConnectionUtil
Writing Makefile =
for Apache2::Directive

Writing Makefile for Apache2::Filter
Writing Makefile for Ap=
ache2::FilterRec
Writing Makefile for Apache2::HookRun
=
Writing Makefile for Apache2::Log
Writing Makefile for Apache2::M=
PM

Writing Makefile for Apache2::Module
Writing Makefile for Ap=
ache2::Process
Writing Makefile for Apache2::RequestIO
=
Writing Makefile for Apache2::RequestRec
Writing Makefile for Apa=
che2::RequestUtil

Writing Makefile for Apache2::Response
Writing Makefile for =
Apache2::ServerRec
Writing Makefile for Apache2::ServerUtil
=
Writing Makefile for Apache2::SubProcess
Writing Makefile fo=
r Apache2::SubRequest

Writing Makefile for Apache2::URI
Writing Makefile for Apach=
e2::Util
Writing Makefile for Apache2
Writing Makefile =
for ModPerl::Global
Writing Makefile for ModPerl::Util

Writing Makefile for ModPerl
Writing Makefile for ModPerl::WrapXS=
Unrecognized argument in LIBS ignored: '-pthread'
<=
div>Writing Makefile for APR
Writing Makefile for APR::Const >
Writing Makefile for APR::PerlIO
Writing Makefile for libapr=
ext
Writing Makefile for APR_build
Writing Makefile for=
Apache2::Const
Writing Makefile for Apache2_build

Writing Makefile for ModPerl::Const
Writing Makefile for ModPerl<=
/div>
Writing Makefile for ModPerl::XS
Writing Makefile for m=
od_perl2
[warning] mod_perl dso library will be built as mod_perl=
..so

[warning] You'll need to add the following to httpd.conf:
v>[warning]=A0
[warning] =A0 LoadModule perl_module modules/mod_p=
erl.so
[warning]=A0
[warning] depending on your build, =
mod_perl might not live in

[warning] the modules/ directory.

[warning] C=
heck the results of
[warning]=A0
[warning] =A0 $ /usr/l=
ocal/sbin/apxs -q LIBEXECDIR
[warning]=A0
[warning] and=
adjust the LoadModule directive accordingly.


==> Your Makefile has been rebuilt. <== div>
==> Please rerun the make command. =A0<==
=
false
*** Error code 1

Stop in /usr/home=
/pbx/installs/installs/mod_perl-2.0.






=





=


# perl -v


This is perl 5, version 12, subversion 1 (v5.12.1) built for i386-free=
bsd-thread-multi-64int

Copyright 1987-2010, Larry =
Wall

Perl may be copied only under the terms of ei=
ther the Artistic License or the

GNU General Public License, which may be found in the Perl 5 source ki=
t.

Complete documentation for Perl, including FAQ =
lists, should be found on
this system using "man perl" =
or "perldoc perl". =A0If you have access to the

Internet, point your browser at http:=
//www.perl.org/
, the Perl Home Page.

mip# perl=
-V
Summary of my perl5 (revision 5 version 12 subversion 1) conf=
iguration:

  =A0
  Platform:
   =A0osname=3Dfreeb=
sd, osvers=3D8.0-release, archname=3Di386-freebsd-thread-multi-64int
<=
div>   =A0uname=3D'freebsd mip=
..madisonip.com
8.0-release freebsd 8.0-release #0: sat nov 21 15:48:17 =
utc 2009 root@almeida.cse.buffalo.edu:usrobjusrsrcsysgeneric i386 ' v>
   =A0config_args=3D'-sde -Dprefix=3D/usr/local -Darchlib=3D/u=
sr/local/lib/perl5/5.12.1/mach -Dprivlib=3D/usr/local/lib/perl5/5.12.1 -Dma=
n3dir=3D/usr/local/lib/perl5/5.12.1/perl/man/man3 -Dman1dir=3D/usr/local/ma=
n/man1 -Dsitearch=3D/usr/local/lib/perl5/site_perl/5.12.1/mach -Dsitelib=3D=
/usr/local/lib/perl5/site_perl/5.12.1 -Dscriptdir=3D/usr/local/bin -Dsitema=
n3dir=3D/usr/local/lib/perl5/5.12.1/man/man3 -Dsiteman1dir=3D/usr/local/man=
/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=3Dcc -Duseshrplib -Dinc=
_version_list=3Dnone -Dccflags=3D-DAPPLLIB_EXP=3D"/usr/local/lib/perl5=
/5.12.1/BSDPAN" -Doptimize=3D-O2 -pipe -fno-strict-aliasing -Ui_gdbm -=
Dusethreads=3Dy -Dusemymalloc=3Dn -Duse64bitint'

   =A0hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine iv>
   =A0useithreads=3Ddefine, usemultiplicity=3Ddefine
=
   =A0useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, useso=
cks=3Dundef
   =A0use64bitint=3Ddefine, use64bitall=3Dundef, =
uselongdouble=3Dundef

   =A0usemymalloc=3Dn, bincompat5005=3Dundef
  Compi=
ler:
   =A0cc=3D'cc', ccflags =3D'-DAPPLLIB_EXP=
=3D"/usr/local/lib/perl5/5.12.1/BSDPAN" -DHAS_FPSETMASK -DHAS_FLO=
ATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl=
ude',

   =A0optimize=3D'-O2 -pipe -fno-strict-aliasing',
iv>   =A0cppflags=3D'-DAPPLLIB_EXP=3D"/usr/local/lib/perl5/5.1=
2.1/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing=
-pipe -fstack-protector -I/usr/local/include'

   =A0ccversion=3D'', gccversion=3D'4.2.1 20070719 =A0=
[FreeBSD]', gccosandvers=3D''
   =A0intsize=3D4, =
longsize=3D4, ptrsize=3D4, doublesize=3D8, byteorder=3D12345678
=
   =A0d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, longdb=
lsize=3D12

   =A0ivtype=3D'long long', ivsize=3D8, nvtype=3D'doub=
le', nvsize=3D8, Off_t=3D'off_t', lseeksize=3D8
=A0=
=A0 =A0alignbytes=3D4, prototype=3Ddefine
  Linker and Librar=
ies:
   =A0ld=3D'cc', ldflags =3D'-pthread -Wl,-E=
=A0-fstack-protector -L/usr/local/lib'

   =A0libpth=3D/usr/lib /usr/local/lib
   =A0libs=3D=
-lgdbm -lm -lcrypt -lutil
   =A0perllibs=3D-lm -lcrypt -lutil=
   =A0libc=3D, so=3Dso, useshrplib=3Dtrue, libperl=3Dlibperl=
..so
   =A0gnulibc_version=3D''

  Dynamic Linking:
   =A0dlsrc=3Ddl_dlopen.xs, dlext=
=3Dso, d_dlsymun=3Dundef, ccdlflags=3D' =A0-Wl,-R/usr/local/lib/perl5/5=
..12.1/mach/CORE'
   =A0cccdlflags=3D'-DPIC -fPIC'=
, lddlflags=3D'-shared =A0-L/usr/local/lib -fstack-protector'



Characteristics of this binary (from lib=
perl):=A0
  Compile-time options: MULTIPLICITY PERL_DONT_CREA=
TE_GVSV
   =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0PERL_IM=
PLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_INT

   =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0USE_ITHREADS USE_LAR=
GE_FILES USE_PERLIO USE_PERL_ATOF
   =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0USE_REENTRANT_API
  Built under freebsd iv>
  Compiled at Aug 17 2010 11:06:30

  @INC:
   =A0/usr/local/lib/perl5/5.12.1/BSDPAN
v>   =A0/usr/local/lib/perl5/site_perl/5.12.1/mach
   =A0=
/usr/local/lib/perl5/site_perl/5.12.1
   =A0/usr/local/lib/pe=
rl5/5.12.1/mach

   =A0/usr/local/lib/perl5/5.12.1


--
Ryan P=
erry
Technology Director
Women's Health America
800-558-7046 x=
700
608-807-0823



--001485f1a24698eacd048e07ff88--